package com.tianyu.inspection.entity;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**********************************
 * @Author YSW
 * @Description 系统JSON结构预置描述
 * @Date 2023/9/12 - 19:47
 **********************************/

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName(autoResultMap = true)
public class SysStructureDesc {

    private Integer id;

    private String name;

    @TableField(typeHandler = JacksonTypeHandler.class)
    private JSONObject desc;

    private Integer organizationId;

    private String createTime;

    private String updateTime;
}
